const bindExpress = require('../../api/apiUtils').bindExpress;
const testApi = require('../../api/testApi')

function api1(req, res) {
    res.send('Hello World!')
}

function api2(req, res) {
    res.send('Hello World API2 !')
}

module.exports = {
    init: function init(expressApp) {
        bindExpress(testApi.api1, expressApp, api1)
        bindExpress(testApi.api2, expressApp, api2)
    }
}